package work.timejay.shop.entity.shop;

import work.timejay.common.SuperModel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品信息子内容
 * </p>
 *
 * @author 王文杰
 * @since 2024-02-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("shop_extends")
public class ShopExtends extends SuperModel<ShopExtends> {

    private static final long serialVersionUID = 1L;

    /**
     * 商品介绍类型
     */
    @TableField("type")
    private Integer type;

    /**
     * 商品介绍名称
     */
    @TableField("name")
    private String name;

    /**
     * 商品介绍文件
     */
    @TableField("path")
    private String path;

    /**
     * 商品id
     */
    @TableField("shop_id")
    private Long shopId;


    public static final String TYPE = "type";

    public static final String NAME = "name";

    public static final String PATH = "path";

    public static final String SHOP_ID = "shop_id";

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
